home *** CD-ROM | disk | FTP | other *** search
Text File | 1997-04-25 | 976 b | 49 lines | [TEXT/CWIE] |
- // ==================================================
- // UDragDropSuit.h
- // Copyright (C) 1996-1997 Mizutori Tetsuya
- // November 22, 1996; February 6, 1997.
- // ==================================================
- // All documents are pretty-printed in 10-point Geneva font.
-
- #pragma once
-
- #include <Drag.h>
-
-
- class UDragDropSuit {
-
- public:
-
- static Boolean DragText(
- const EventRecord & theEvent,
- RgnHandle inHiliteRgn,
- unsigned char * textP,
- long & textLen,
- Boolean & wasDroppedInTrash );
-
- static Boolean InDragRegion(
- DragReference inDragRef );
-
- static void ZoomBackBounds(
- DragReference inDragRef,
- ItemReference inItemRef );
-
- private:
-
- static Boolean MyTrackDrag(
- DragReference inDrag,
- const EventRecord & inMacEvent,
- RgnHandle inDragRegion );
-
- static Boolean DropLocationIsFinderTrash(
- AEDesc & dropLocation );
-
-
- public:
-
- static RgnHandle sDragRegion;
- };
-
-
- // end of definitions
-